<?php


$str = "Hello Friend";

/* alles single splitten*/
$arr1 = str_split($str);

/* splitten in 3 karakters per array entry */
$arr2 = str_split($str, 3);

foreach($arr1 as $key=>$value) {
		echo "key = $key en waarde = $value<br>";
	}
foreach($arr2 as $key=>$value) {
		echo "key = $key en waarde = $value<br>";
	}
/* print_r($arr1); */

/* print_r($arr2);-*/

?>
